Optimal. Leaf size=201 \[ -\frac {1}{4} b c^3 d^2 x \sqrt {1-c^2 x^2}-\frac {b c d^2 \left (1-c^2 x^2\right )^{3/2}}{2 x}-\frac {1}{4} b c^2 d^2 \text {ArcSin}(c x)-c^2 d^2 \left (1-c^2 x^2\right ) (a+b \text {ArcSin}(c x))-\frac {d^2 \left (1-c^2 x^2\right )^2 (a+b \text {ArcSin}(c x))}{2 x^2}+\frac {i c^2 d^2 (a+b \text {ArcSin}(c x))^2}{b}-2 c^2 d^2 (a+b \text {ArcSin}(c x)) \log \left (1-e^{2 i \text {ArcSin}(c x)}\right )+i b c^2 d^2 \text {PolyLog}\left (2,e^{2 i \text {ArcSin}(c x)}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.14, antiderivative size = 201, normalized size of antiderivative = 1.00, number of steps
used = 12, number of rules used = 10, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.400, Rules used = {4775, 283,
201, 222, 4773, 4721, 3798, 2221, 2317, 2438} \begin {gather*} -c^2 d^2 \left (1-c^2 x^2\right ) (a+b \text {ArcSin}(c x))-\frac {d^2 \left (1-c^2 x^2\right )^2 (a+b \text {ArcSin}(c x))}{2 x^2}+\frac {i c^2 d^2 (a+b \text {ArcSin}(c x))^2}{b}-2 c^2 d^2 \log \left (1-e^{2 i \text {ArcSin}(c x)}\right ) (a+b \text {ArcSin}(c x))+i b c^2 d^2 \text {Li}_2\left (e^{2 i \text {ArcSin}(c x)}\right )-\frac {1}{4} b c^2 d^2 \text {ArcSin}(c x)-\frac {b c d^2 \left (1-c^2 x^2\right )^{3/2}}{2 x}-\frac {1}{4} b c^3 d^2 x \sqrt {1-c^2 x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 201
Rule 222
Rule 283
Rule 2221
Rule 2317
Rule 2438
Rule 3798
Rule 4721
Rule 4773
Rule 4775
Rubi steps
\begin {align*} \int \frac {\left (d-c^2 d x^2\right )^2 \left (a+b \sin ^{-1}(c x)\right )}{x^3} \, dx &=-\frac {d^2 \left (1-c^2 x^2\right )^2 \left (a+b \sin ^{-1}(c x)\right )}{2 x^2}-\left (2 c^2 d\right ) \int \frac {\left (d-c^2 d x^2\right ) \left (a+b \sin ^{-1}(c x)\right )}{x} \, dx+\frac {1}{2} \left (b c d^2\right ) \int \frac {\left (1-c^2 x^2\right )^{3/2}}{x^2} \, dx\\ &=-\frac {b c d^2 \left (1-c^2 x^2\right )^{3/2}}{2 x}-c^2 d^2 \left (1-c^2 x^2\right ) \left (a+b \sin ^{-1}(c x)\right )-\frac {d^2 \left (1-c^2 x^2\right )^2 \left (a+b \sin ^{-1}(c x)\right )}{2 x^2}-\left (2 c^2 d^2\right ) \int \frac {a+b \sin ^{-1}(c x)}{x} \, dx+\left (b c^3 d^2\right ) \int \sqrt {1-c^2 x^2} \, dx-\frac {1}{2} \left (3 b c^3 d^2\right ) \int \sqrt {1-c^2 x^2} \, dx\\ &=-\frac {1}{4} b c^3 d^2 x \sqrt {1-c^2 x^2}-\frac {b c d^2 \left (1-c^2 x^2\right )^{3/2}}{2 x}-c^2 d^2 \left (1-c^2 x^2\right ) \left (a+b \sin ^{-1}(c x)\right )-\frac {d^2 \left (1-c^2 x^2\right )^2 \left (a+b \sin ^{-1}(c x)\right )}{2 x^2}-\left (2 c^2 d^2\right ) \text {Subst}\left (\int (a+b x) \cot (x) \, dx,x,\sin ^{-1}(c x)\right )+\frac {1}{2} \left (b c^3 d^2\right ) \int \frac {1}{\sqrt {1-c^2 x^2}} \, dx-\frac {1}{4} \left (3 b c^3 d^2\right ) \int \frac {1}{\sqrt {1-c^2 x^2}} \, dx\\ &=-\frac {1}{4} b c^3 d^2 x \sqrt {1-c^2 x^2}-\frac {b c d^2 \left (1-c^2 x^2\right )^{3/2}}{2 x}-\frac {1}{4} b c^2 d^2 \sin ^{-1}(c x)-c^2 d^2 \left (1-c^2 x^2\right ) \left (a+b \sin ^{-1}(c x)\right )-\frac {d^2 \left (1-c^2 x^2\right )^2 \left (a+b \sin ^{-1}(c x)\right )}{2 x^2}+\frac {i c^2 d^2 \left (a+b \sin ^{-1}(c x)\right )^2}{b}+\left (4 i c^2 d^2\right ) \text {Subst}\left (\int \frac {e^{2 i x} (a+b x)}{1-e^{2 i x}} \, dx,x,\sin ^{-1}(c x)\right )\\ &=-\frac {1}{4} b c^3 d^2 x \sqrt {1-c^2 x^2}-\frac {b c d^2 \left (1-c^2 x^2\right )^{3/2}}{2 x}-\frac {1}{4} b c^2 d^2 \sin ^{-1}(c x)-c^2 d^2 \left (1-c^2 x^2\right ) \left (a+b \sin ^{-1}(c x)\right )-\frac {d^2 \left (1-c^2 x^2\right )^2 \left (a+b \sin ^{-1}(c x)\right )}{2 x^2}+\frac {i c^2 d^2 \left (a+b \sin ^{-1}(c x)\right )^2}{b}-2 c^2 d^2 \left (a+b \sin ^{-1}(c x)\right ) \log \left (1-e^{2 i \sin ^{-1}(c x)}\right )+\left (2 b c^2 d^2\right ) \text {Subst}\left (\int \log \left (1-e^{2 i x}\right ) \, dx,x,\sin ^{-1}(c x)\right )\\ &=-\frac {1}{4} b c^3 d^2 x \sqrt {1-c^2 x^2}-\frac {b c d^2 \left (1-c^2 x^2\right )^{3/2}}{2 x}-\frac {1}{4} b c^2 d^2 \sin ^{-1}(c x)-c^2 d^2 \left (1-c^2 x^2\right ) \left (a+b \sin ^{-1}(c x)\right )-\frac {d^2 \left (1-c^2 x^2\right )^2 \left (a+b \sin ^{-1}(c x)\right )}{2 x^2}+\frac {i c^2 d^2 \left (a+b \sin ^{-1}(c x)\right )^2}{b}-2 c^2 d^2 \left (a+b \sin ^{-1}(c x)\right ) \log \left (1-e^{2 i \sin ^{-1}(c x)}\right )-\left (i b c^2 d^2\right ) \text {Subst}\left (\int \frac {\log (1-x)}{x} \, dx,x,e^{2 i \sin ^{-1}(c x)}\right )\\ &=-\frac {1}{4} b c^3 d^2 x \sqrt {1-c^2 x^2}-\frac {b c d^2 \left (1-c^2 x^2\right )^{3/2}}{2 x}-\frac {1}{4} b c^2 d^2 \sin ^{-1}(c x)-c^2 d^2 \left (1-c^2 x^2\right ) \left (a+b \sin ^{-1}(c x)\right )-\frac {d^2 \left (1-c^2 x^2\right )^2 \left (a+b \sin ^{-1}(c x)\right )}{2 x^2}+\frac {i c^2 d^2 \left (a+b \sin ^{-1}(c x)\right )^2}{b}-2 c^2 d^2 \left (a+b \sin ^{-1}(c x)\right ) \log \left (1-e^{2 i \sin ^{-1}(c x)}\right )+i b c^2 d^2 \text {Li}_2\left (e^{2 i \sin ^{-1}(c x)}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.12, size = 185, normalized size = 0.92 \begin {gather*} \frac {d^2 \left (-2 a+2 a c^4 x^4-2 b c x \sqrt {1-c^2 x^2}+b c^3 x^3 \sqrt {1-c^2 x^2}+4 i b c^2 x^2 \text {ArcSin}(c x)^2-2 b c^2 x^2 \text {ArcTan}\left (\frac {c x}{-1+\sqrt {1-c^2 x^2}}\right )+2 b \text {ArcSin}(c x) \left (-1+c^4 x^4-4 c^2 x^2 \log \left (1-e^{2 i \text {ArcSin}(c x)}\right )\right )-8 a c^2 x^2 \log (x)+4 i b c^2 x^2 \text {PolyLog}\left (2,e^{2 i \text {ArcSin}(c x)}\right )\right )}{4 x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.41, size = 264, normalized size = 1.31
method | result | size |
derivativedivides | \(c^{2} \left (\frac {d^{2} a \,c^{2} x^{2}}{2}-\frac {d^{2} a}{2 c^{2} x^{2}}-2 d^{2} a \ln \left (c x \right )+i b \,d^{2} \arcsin \left (c x \right )^{2}+\frac {b c \,d^{2} x \sqrt {-c^{2} x^{2}+1}}{4}+\frac {d^{2} b \arcsin \left (c x \right ) c^{2} x^{2}}{2}-\frac {b \,d^{2} \arcsin \left (c x \right )}{4}+\frac {i d^{2} b}{2}-\frac {d^{2} b \sqrt {-c^{2} x^{2}+1}}{2 c x}-\frac {d^{2} b \arcsin \left (c x \right )}{2 c^{2} x^{2}}-2 d^{2} b \arcsin \left (c x \right ) \ln \left (1+i c x +\sqrt {-c^{2} x^{2}+1}\right )-2 d^{2} b \arcsin \left (c x \right ) \ln \left (1-i c x -\sqrt {-c^{2} x^{2}+1}\right )+2 i d^{2} b \polylog \left (2, -i c x -\sqrt {-c^{2} x^{2}+1}\right )+2 i d^{2} b \polylog \left (2, i c x +\sqrt {-c^{2} x^{2}+1}\right )\right )\) | \(264\) |
default | \(c^{2} \left (\frac {d^{2} a \,c^{2} x^{2}}{2}-\frac {d^{2} a}{2 c^{2} x^{2}}-2 d^{2} a \ln \left (c x \right )+i b \,d^{2} \arcsin \left (c x \right )^{2}+\frac {b c \,d^{2} x \sqrt {-c^{2} x^{2}+1}}{4}+\frac {d^{2} b \arcsin \left (c x \right ) c^{2} x^{2}}{2}-\frac {b \,d^{2} \arcsin \left (c x \right )}{4}+\frac {i d^{2} b}{2}-\frac {d^{2} b \sqrt {-c^{2} x^{2}+1}}{2 c x}-\frac {d^{2} b \arcsin \left (c x \right )}{2 c^{2} x^{2}}-2 d^{2} b \arcsin \left (c x \right ) \ln \left (1+i c x +\sqrt {-c^{2} x^{2}+1}\right )-2 d^{2} b \arcsin \left (c x \right ) \ln \left (1-i c x -\sqrt {-c^{2} x^{2}+1}\right )+2 i d^{2} b \polylog \left (2, -i c x -\sqrt {-c^{2} x^{2}+1}\right )+2 i d^{2} b \polylog \left (2, i c x +\sqrt {-c^{2} x^{2}+1}\right )\right )\) | \(264\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} d^{2} \left (\int \frac {a}{x^{3}}\, dx + \int \left (- \frac {2 a c^{2}}{x}\right )\, dx + \int a c^{4} x\, dx + \int \frac {b \operatorname {asin}{\left (c x \right )}}{x^{3}}\, dx + \int \left (- \frac {2 b c^{2} \operatorname {asin}{\left (c x \right )}}{x}\right )\, dx + \int b c^{4} x \operatorname {asin}{\left (c x \right )}\, dx\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {\left (a+b\,\mathrm {asin}\left (c\,x\right )\right )\,{\left (d-c^2\,d\,x^2\right )}^2}{x^3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________